package cn.xshi.monitor.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.xshi.common.base.BaseEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Desc 设备基础信息
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
@ApiModel(value="设备基础信息对象", description="设备基础信息")
public class IotDevice extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "设备id")
	private String id;/**设备id**/

	@ApiModelProperty(value = "设备类型id")
	private String deviceTypeId;/**设备类型id**/

	@ApiModelProperty(value = "设备编号")
	private String code;/**设备编号**/

	@ApiModelProperty(value = "设备名称")
	private String name;/**设备名称**/

	@ApiModelProperty(value = "简写")
	private String shortName;/**简写**/

	@ApiModelProperty(value = "备注")
	private String remarks;/**备注**/

	@ApiModelProperty(value = "桩号")
	private String buildPos;/**桩号**/

	@ApiModelProperty(value = "桩号描述")
	private String buildPosContent;/**桩号描述**/

	@ApiModelProperty(value = "生产商id")
	private String oemId;/**生产商id**/

	@ApiModelProperty(value = "型号id")
	private String modelId;/**型号id**/

	@ApiModelProperty(value = "生产日期")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date produceDate;/**生产日期**/

	@ApiModelProperty(value = "设备报废时间")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date scrapTime;/**设备报废时间**/

	@ApiModelProperty(value = "视频录制0否1录制中")
	private Integer transcribe;/**视频录制0否1录制中**/

	@ApiModelProperty(value = "生产商名称")
	private String oemName;/**生产商名称**/

	@ApiModelProperty(value = "型号名称")
	private String modelName;/**型号名称**/

	@ApiModelProperty(value = "设备类型名称")
	private String deviceTypeName;/**设备类型名称**/

	@ApiModelProperty(value = "设备位置id")
	private String deviceLocationId;/**设备位置id**/

	@ApiModelProperty(value = "位置名称id")
	private String locationName;/**位置名称id**/

	@ApiModelProperty(value = "设备类型标记")
	private String tag;//设备类型标记

}
